package com.tencent.wxcloudrun.dto;

import lombok.Data;

// 周期还款配置
@Data
public class RepaymentInfo {
    private int weeklyPrincipal; //每周应还本金
    private int interest;   //利息
    private int totalAmount; // 总数

    public RepaymentInfo(int weeklyPrincipal, int interest, int totalAmount) {
        this.weeklyPrincipal = weeklyPrincipal;
        this.interest = interest;
        this.totalAmount = totalAmount;
    }
}
